FROM openjdk:8-jdk-alpine

MAINTAINER amewin@qq.com

ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && mkdir -p /amewin

WORKDIR /amewin

EXPOSE 9999

ADD ./target/amewin-1.jar ./

CMD java -jar  -Dfile.encoding=UTF8   -Duser.timezone=GMT+08  amewin-1.jar
